package com.lagou.edu.springbootrabbit.dao.repository;

import com.lagou.edu.springbootrabbit.dao.pojo.OrderPo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderRepository extends JpaRepository<OrderPo, Integer> {

    List<OrderPo> findByUserIdAndOrderStatus(String userId,String orderStatu);
}
